home *** CD-ROM | disk | FTP | other *** search
/ Deutsche Edition 2 / Deutsche Edition 2.iso / mac / UTILITYS / About 1.0.2 ƒ / About Memory… < prev    next >
Encoding:
Text File  |  1994-03-27  |  5.9 KB  |  39 lines  |  [ttro/ttxt]

  1. ABOUT MEMORY
  2.  
  3. FINDER EMULATION
  4. On most Macintoshes, the operating system uses more memory than the ÒPreferred sizeÓ value you provide in the FinderÕs Get Info window for an application (typically 16K more). Finder subtracts this extra memory from the value it lists in its ÒAbout This MacintoshÓ display; so when ÒGroup System SoftwareÓ is on, About does the same thing. Where does the extra 16K go? It is added to the ÒSystem SoftwareÓ bar. You might notice when you quit an application, ÒSystem SoftwareÓ shrinks by about 16K.
  5.  
  6. Finder also adjusts its ÒLargest Unused BlockÓ value to match. Since 16K more memory is required to launch an application than what youÕre told about, the Finder subtracts 16K from the size of the Largest Unused Block, so you wonÕt think you have room to launch an application that would just fit. WhatÕs more, the Finder subtracts another 10K from the Largest Unused Block just for good measure! About does the same thing, just to be consistent. This 26K also goes into the ÒSystem SoftwareÓ bar.
  7.  
  8. If your Macintosh is 68000-based, you probably wonÕt see this behavior. The operating system wonÕt increase partition sizes if your Macintosh doesnÕt support Color QuickDraw.
  9.  
  10. WHATÕS IN ÒSYSTEM SOFTWAREÓ?
  11. So what does ÒSystem SoftwareÓ actually represent? Well, itÕs the partition size for the Finder, plus any backgroundÐonly processes. Add in the size of the system heap, plus any allocated temporary memory. Also add in all those 16K fudge factors from every other running process, plus another 26K not reported in the Largest Unused Block.
  12.  
  13. About plays this charade until you ungroup System Software. Then, the fudge factors go away, and true process sizes are reported. The Finder and other backgroundÐonly processes each get their own bars. As for the other system memory, itÕs added together and placed in the Machine Info banner as ÒSystem Memory.Ó If you installed the Symbionts extension, About will also report the portion of system memory used by your system extensions.
  14.  
  15. If you have more than 8MB of RAM, the excess memory will be added to System Software if 32-Bit Addressing is off. When About detects this condition, it warns you that you have unuseable memory.
  16.  
  17. VIEW BY PARTITION
  18. For the most accurate picture of your memory, ungroup System Software, show Partition Sizes, and view by Partitions (small icons may be more aesthetically pleasing). You will now see gray bars with various names separating some of your applications. If you have excluded any processes, they will reappear because About does not honor the excluded setting when using this view.
  19.  
  20. At the bottom of the list is a block named ÒSystem Heap,Ó which displays the size of the system heap. The system heap grows as you launch applications, but should never shrink.
  21.  
  22. Blocks named ÒunusedÓ may appear between some processes. These gray bars represent the other unused blocks. One of them is the Largest Unused Block, and itÕs usually right above the ÒSystem HeapÓ bar. Since the Largest Unused Block is now explicitly shown, About no longer displays its size in the Machine Info banner. Any of the gray bars may show their memory as a Òbroken barÓ so they donÕt dominate the display.
  23.  
  24. These unused blocks are ÒholesÓ in your memory that get formed by quitting applications not adjacent to the Largest Unused Block, or they may be chunks of temporary memory that were allocated and locked down by one of your running applications. (The Finder and File Sharing Extension both do this.) To reclaim unused memory, you must coalesce it back into the Largest Unused Block by quitting the applications that stand between the unused memory and the bottom of the list.
  25.  
  26. 24-BIT VIRTUAL MEMORY
  27. There is a special case which occurs if 24-bit addressing is on and youÕre using Virtual Memory to expand your address space to more than 8 MB. (Yes, Macintosh SE/30 users, IÕm talking to you!) When you do this, your address space is split into at least two parts, with the ROM occupying 1 MB of address space between them. About shows this split by inserting a gray bar named ÒROM address spaceÓ into the list.
  28.  
  29. NUBUSª CARDS AND 24-BIT VM
  30. If any NuBus cards (or simulated NuBus cards) are occupying addresses below the upper portion of RAM, About inserts a gray bar labelled something like ÒNuBus 9: Macintosh SE/30 Built-In Video.Ó The number after the word ÒNuBusÓ is the cardÕs slot number. Alert readers may wonder what happens if NuBus cards are arranged with empty slots between them. In this case, the upper portion of RAM could be split into even smaller blocks, to utilize the holes in the address space formed by the empty slots. When About detects this condition, it warns you that you have an undesirable arrangement of NuBus cards. About displays bars for all NuBus cards it finds, to give you enough information to rearrange the cards into a more efficient pattern.
  31.  
  32.  
  33. ABOUT CPU LOAD
  34. When you view with large icons and show partition sizes, About displays the percentage of the CPU used by each process, updated approximately every two seconds. These percentages appear as red bars beneath the memory partition bars.
  35.  
  36. Sometimes the numbers donÕt total to 100%. What was the Mac doing the rest of the time? The missing CPU time might have been used by excluded processes, or by background-only processes that you donÕt see if ÒGroup System SoftwareÓ is checked. Part of the time might also be used by system extensions you have installed; they steal time from your applications to do their work. Or the remaining time might have been spent simply idlingÑwaiting for you to click the mouse or to type.
  37.  
  38. You may notice About using a large percentage of the CPU. This is because About is designed to soak up all available idle time, and use it to monitor the other processes. But, when you want to do real work on the Mac, About takes a back seat. AboutÕs design also causes it to be more active when itÕs the frontmost application. When About is in the background, youÕll see its CPU usage drop considerably.
  39.